package com.ruoyi.appraisal.mapper;

import java.util.List;
import com.ruoyi.appraisal.domain.HouseAppraisal;

/**
 * 房屋估价Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-09
 */
public interface HouseAppraisalMapper 
{
    /**
     * 查询房屋估价
     * 
     * @param id 房屋估价主键
     * @return 房屋估价
     */
    public HouseAppraisal selectHouseAppraisalById(Long id);

    /**
     * 查询房屋估价列表
     * 
     * @param houseAppraisal 房屋估价
     * @return 房屋估价集合
     */
    public List<HouseAppraisal> selectHouseAppraisalList(HouseAppraisal houseAppraisal);

    /**
     * 新增房屋估价
     * 
     * @param houseAppraisal 房屋估价
     * @return 结果
     */
    public int insertHouseAppraisal(HouseAppraisal houseAppraisal);

    /**
     * 修改房屋估价
     * 
     * @param houseAppraisal 房屋估价
     * @return 结果
     */
    public int updateHouseAppraisal(HouseAppraisal houseAppraisal);

    /**
     * 删除房屋估价
     * 
     * @param id 房屋估价主键
     * @return 结果
     */
    public int deleteHouseAppraisalById(Long id);

    /**
     * 批量删除房屋估价
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseAppraisalByIds(Long[] ids);
}
